-
Notifications
You must be signed in to change notification settings - Fork 737
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Evals API MVP #235
Closed
Evals API MVP #235
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
facebook-github-bot
added
the
CLA Signed
This label is managed by the Meta Open Source bot.
label
Oct 10, 2024
yanxi0830
commented
Oct 11, 2024
yanxi0830
requested review from
ashwinb,
hardikjshah,
dltn and
raghotham
as code owners
October 15, 2024 17:25
we could close this one? |
See PRs #323 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
DevX Flow
Step 1. Register Eval Dataset
Step 2. Run Eval Scorer
expected_answer
andgenerated_answer
LLM As Judge
Eval Dataset Template Schema
High-Level Changes
1. New endpoints API added
/datasets
for registering/deleting datasets/evals
for running evaluation tasks/evals/run_eval_task
--> run full eval including preprocessing -> generation -> postprocessing -> scoring/evals/run_scorer
--> run scoring only2. New datastructures added
Registry
: for maintaining datasets, scorers, processorsBaseScorer
: evaluation methods for scoringBaseDataset
: supports custom datasets / huggingface datasetsBaseGeneratorProcessor
: performing preprocessing/postprocessing before/after generationBaseGenerator
: performing inference generation(experimental) eleuther harness
mmlu_pro
(e.g. recipe)loglikelihood
outputs for inference-- Not in this PR
🚧 jobs API for background eval job scheduling
🚧 batch inference
🚧 persist intermediate datasets during run_eval_task